package cn.edu.nuaa.pojo;

/**
 * @author 朱宗辉
 * @version V1.0
 * @Package cn.edu.nuaa.pojo
 * @date 2023/3/13 11:21
 */
public class User {
    private Integer uid;
    private String uname;
    private int uage;

    public User() {
    }

    public User(int uid, String name, int uage) {
        this.uid = uid;
        this.uname = name;
        this.uage = uage;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return uname;
    }

    public void setName(String name) {
        this.uname = name;
    }

    public int getUage() {
        return uage;
    }

    public void setUage(int uage) {
        this.uage = uage;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", name='" + uname + '\'' +
                ", uage=" + uage +
                '}';
    }
}
